<html>
<head><meta charset="utf-8"><title>termcolor · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html">termcolor</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="196123132"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123132" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123132">(May 03 2020 at 21:02)</a>:</h4>
<p><span class="user-mention" data-user-id="254853">@pksunkara</span> Other than cleaner and more maintained Windows support, what are the advantages of termcolor over ansi_term?</p>



<a name="196123158"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123158" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123158">(May 03 2020 at 21:03)</a>:</h4>
<p>It had buffered support, which while not important to clap is a good feature for threading</p>



<a name="196123162"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123162" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123162">(May 03 2020 at 21:03)</a>:</h4>
<p>Also does <code>console</code></p>



<a name="196123168"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123168" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123168">(May 03 2020 at 21:03)</a>:</h4>
<p>But <code>console</code>'s windows coloring in non-ansi supported is lazy and might have degraded perf</p>



<a name="196123239"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123239" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123239">(May 03 2020 at 21:05)</a>:</h4>
<p>That's what I was wondering. I think there's value in the forward-looking approach of "color on systems that support ANSI, correct monochrome behavior otherwise".</p>



<a name="196123250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123250">(May 03 2020 at 21:05)</a>:</h4>
<p>What do you mean by "buffered support"?</p>



<a name="196123311"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123311" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123311">(May 03 2020 at 21:06)</a>:</h4>
<p>There 2 kinds of windows, 1 where ANSI is support, the other where ANSI is not but we have windows console API</p>



<a name="196123326"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123326" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123326">(May 03 2020 at 21:06)</a>:</h4>
<p>To do colors on windows console API, we need to call a set of commands while printing output</p>



<a name="196123331"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123331" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123331">(May 03 2020 at 21:06)</a>:</h4>
<p>Yeah, I'm familiar with that.</p>



<a name="196123340"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123340" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123340">(May 03 2020 at 21:07)</a>:</h4>
<p>Windows 10 is where you can start assuming ANSI color mode, right? (Modulo needing to turn it on at program startup.)</p>



<a name="196123346"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123346" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123346">(May 03 2020 at 21:07)</a>:</h4>
<p>I think so, not completely sure about where it starts</p>



<a name="196123355"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123355" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123355">(May 03 2020 at 21:07)</a>:</h4>
<p>Termcolor stores the commands and output data in an internal struct</p>



<a name="196123369"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123369" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123369">(May 03 2020 at 21:07)</a>:</h4>
<p>And using this, you can store buffers of these outputs+commands</p>



<a name="196123416"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123416" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123416">(May 03 2020 at 21:08)</a>:</h4>
<p>That was always what I found most inconvenient about using some of the other color APIs.</p>



<a name="196123426"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123426" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123426">(May 03 2020 at 21:08)</a>:</h4>
<p>The whole "you can't just print this" problem. :)</p>



<a name="196123427"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123427" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123427">(May 03 2020 at 21:08)</a>:</h4>
<p>and do it in a thread separate approach</p>



<a name="196123452"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123452" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123452">(May 03 2020 at 21:09)</a>:</h4>
<p>In <code>console</code> whose windows console fix I implement just last week, you treat everything as ANSI string</p>



<a name="196123463"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123463" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123463">(May 03 2020 at 21:09)</a>:</h4>
<p>Interesting!</p>



<a name="196123476"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123476" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123476">(May 03 2020 at 21:09)</a>:</h4>
<p>You're translating for older Windows?</p>



<a name="196123481"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123481" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123481">(May 03 2020 at 21:09)</a>:</h4>
<p>But when there is only windows console API, while priting the ANSI string, <code>console</code> strips the ansi tags and sends color commands when it sees an ansi tag</p>



<a name="196123484"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123484" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123484">(May 03 2020 at 21:09)</a>:</h4>
<p>I already finished</p>



<a name="196123490"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123490" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123490">(May 03 2020 at 21:10)</a>:</h4>
<p><a href="https://github.com/mitsuhiko/console" title="https://github.com/mitsuhiko/console">https://github.com/mitsuhiko/console</a></p>



<a name="196123532"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123532" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123532">(May 03 2020 at 21:10)</a>:</h4>
<p>(I meant "translating" the sequences at runtime, not "currently working on translating the code".)</p>



<a name="196123541"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123541" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123541">(May 03 2020 at 21:10)</a>:</h4>
<p>Yes</p>



<a name="196123571"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123571" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123571">(May 03 2020 at 21:11)</a>:</h4>
<p><a href="https://github.com/mitsuhiko/console/commit/20c740f69dfb948de8530e228c8772b7c9a06816#diff-cf150a986c7ff2904842507b477dc0b1R386" title="https://github.com/mitsuhiko/console/commit/20c740f69dfb948de8530e228c8772b7c9a06816#diff-cf150a986c7ff2904842507b477dc0b1R386">https://github.com/mitsuhiko/console/commit/20c740f69dfb948de8530e228c8772b7c9a06816#diff-cf150a986c7ff2904842507b477dc0b1R386</a></p>



<a name="196123573"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123573" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123573">(May 03 2020 at 21:11)</a>:</h4>
<p>That's a really nice approach.</p>



<a name="196123576"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123576" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123576">(May 03 2020 at 21:11)</a>:</h4>
<p>I imagine it was a pain to implement, but that seems very clean.</p>



<a name="196123587"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123587" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123587">(May 03 2020 at 21:11)</a>:</h4>
<p>Yeah, thought it would be difficult but wasn't</p>



<a name="196123590"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123590" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123590">(May 03 2020 at 21:11)</a>:</h4>
<p>Does the old Windows console support allow RGB colors?</p>



<a name="196123639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123639">(May 03 2020 at 21:12)</a>:</h4>
<p>Don't think so. I was looking at termcolor's code related to this</p>



<a name="196123652"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123652" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123652">(May 03 2020 at 21:12)</a>:</h4>
<p>Unfortunate, but not an unreasonable limitation.</p>



<a name="196123681"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123681" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123681">(May 03 2020 at 21:13)</a>:</h4>
<p><a href="https://github.com/BurntSushi/termcolor/blob/master/src/lib.rs#L1820" title="https://github.com/BurntSushi/termcolor/blob/master/src/lib.rs#L1820">https://github.com/BurntSushi/termcolor/blob/master/src/lib.rs#L1820</a></p>



<a name="196123732"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123732" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123732">(May 03 2020 at 21:14)</a>:</h4>
<p><a href="https://github.com/BurntSushi/termcolor/blob/master/src/lib.rs#L1788" title="https://github.com/BurntSushi/termcolor/blob/master/src/lib.rs#L1788">https://github.com/BurntSushi/termcolor/blob/master/src/lib.rs#L1788</a> is the function which translates to windows console</p>



<a name="196123759"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123759" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123759">(May 03 2020 at 21:15)</a>:</h4>
<p>So, I'm currently working with the author of ansi_term, to step up maintenance of it, with the hopes of moving to a <code>1.0</code> version.</p>



<a name="196123771"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123771" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123771">(May 03 2020 at 21:15)</a>:</h4>
<p>I'm wondering if there might be value in trying to do some unification, such as at the very least, having a common set of types for things like colors and text styles.</p>



<a name="196123828"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123828" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123828">(May 03 2020 at 21:16)</a>:</h4>
<p>I'm not suggesting unifying the higher-level code, but it'd be nice if crates like my <code>colorparse</code> could translate to one uniform type and then use that type with any of these crates.</p>



<a name="196123834"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123834" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123834">(May 03 2020 at 21:16)</a>:</h4>
<p>Right now, <code>colorparse</code> translates directly to <code>ansi_term::Style</code> objects.</p>



<a name="196123850"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123850" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123850">(May 03 2020 at 21:17)</a>:</h4>
<p>Might it make sense to have an <code>ansi-style-common</code> crate or similar?</p>



<a name="196123859"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123859" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123859">(May 03 2020 at 21:17)</a>:</h4>
<p>Only for the color &amp; style enums?</p>



<a name="196123941"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123941" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123941">(May 03 2020 at 21:18)</a>:</h4>
<p>If there might be value in others, we could do those too, but my first thought was a common type vocabulary for things like "bold, blue, underlined, hyperlinked to this URL".</p>



<a name="196123952"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123952" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123952">(May 03 2020 at 21:19)</a>:</h4>
<p><a href="https://docs.rs/termcolor/1.1.0/termcolor/enum.Color.html" title="https://docs.rs/termcolor/1.1.0/termcolor/enum.Color.html">https://docs.rs/termcolor/1.1.0/termcolor/enum.Color.html</a></p>



<a name="196123968"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123968" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123968">(May 03 2020 at 21:19)</a>:</h4>
<p><a href="https://docs.rs/console/0.11.2/console/enum.Color.html" title="https://docs.rs/console/0.11.2/console/enum.Color.html">https://docs.rs/console/0.11.2/console/enum.Color.html</a></p>



<a name="196123973"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196123973" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196123973">(May 03 2020 at 21:19)</a>:</h4>
<p>Right, that for color, and then a concept of styled text: foreground color, background color,the various attributes...</p>



<a name="196124023"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124023" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124023">(May 03 2020 at 21:20)</a>:</h4>
<p>I understand where you are coming from</p>



<a name="196124031"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124031" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124031">(May 03 2020 at 21:20)</a>:</h4>
<p><a href="https://docs.rs/ansi_term/0.12.1/ansi_term/struct.Style.html" title="https://docs.rs/ansi_term/0.12.1/ansi_term/struct.Style.html">https://docs.rs/ansi_term/0.12.1/ansi_term/struct.Style.html</a></p>



<a name="196124047"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124047" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124047">(May 03 2020 at 21:20)</a>:</h4>
<p>But I am not sure whether this would be a good idea or not</p>



<a name="196124068"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124068" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124068">(May 03 2020 at 21:21)</a>:</h4>
<p>I'm not sure either, but I think it's worth discussing, especially before ansi_term does a major API bump to 1.0.</p>



<a name="196124076"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124076" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124076">(May 03 2020 at 21:21)</a>:</h4>
<p>I'm certainly willing to factor out and share types.</p>



<a name="196124078"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124078" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124078">(May 03 2020 at 21:21)</a>:</h4>
<p>Yeah, definitely</p>



<a name="196124088"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124088" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124088">(May 03 2020 at 21:21)</a>:</h4>
<p>So, a different question...</p>



<a name="196124095"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124095" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124095">(May 03 2020 at 21:21)</a>:</h4>
<p>Does wg-cli have an organization to maintain some of its crates in common?</p>



<a name="196124097"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124097" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124097">(May 03 2020 at 21:21)</a>:</h4>
<p><code>console</code> has a style builder pattern. <a href="https://docs.rs/console/0.11.2/console/struct.Style.html" title="https://docs.rs/console/0.11.2/console/struct.Style.html">https://docs.rs/console/0.11.2/console/struct.Style.html</a></p>



<a name="196124098"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124098" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124098">(May 03 2020 at 21:22)</a>:</h4>
<p>Or are they kept in various different places?</p>



<a name="196124137"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124137" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124137">(May 03 2020 at 21:22)</a>:</h4>
<p><a href="https://github.com/rust-cli" title="https://github.com/rust-cli">https://github.com/rust-cli</a></p>



<a name="196124150"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124150" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124150">(May 03 2020 at 21:22)</a>:</h4>
<p>Yeah, <code>ansi_term</code> has a similar builder pattern, and we're also thinking of adding a <code>style!</code> macro: <code>style![bold blue on(green)]</code> or something.</p>



<a name="196124159"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124159" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124159">(May 03 2020 at 21:23)</a>:</h4>
<p>Regarding the common crate, let's go ahead and start the discussion, but let's also involve BurntSushi by creating this discussion on termcolor repo</p>



<a name="196124165"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124165" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124165">(May 03 2020 at 21:23)</a>:</h4>
<p><span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="196124172"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124172" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124172">(May 03 2020 at 21:23)</a>:</h4>
<p>And rust-cli group is also trying not to bless anything</p>



<a name="196124181"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124181" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124181">(May 03 2020 at 21:23)</a>:</h4>
<p>Absolutely understood and agreed.</p>



<a name="196124223"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124223" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124223">(May 03 2020 at 21:24)</a>:</h4>
<p>That leads into my next question: do you think it makes sense for crates like <code>ansi_term</code> to seek a home in the <code>rust-cli</code> org, or do you think that they should live in a separate org of their own?</p>



<a name="196124229"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124229" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124229">(May 03 2020 at 21:24)</a>:</h4>
<p>Or might that depend on the outcome of this discussion about common infrastructure/type crates?</p>



<a name="196124245"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124245" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124245">(May 03 2020 at 21:25)</a>:</h4>
<p>There are definitely different approaches for this coloring problem</p>



<a name="196124247"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124247" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124247">(May 03 2020 at 21:25)</a>:</h4>
<p>So, definitely different crates</p>



<a name="196124250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124250">(May 03 2020 at 21:25)</a>:</h4>
<p>But I think the common type create if we create it can live in rust-cli</p>



<a name="196124252"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124252" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124252">(May 03 2020 at 21:25)</a>:</h4>
<p>/me agrees that it doesn't make sense to try to merge the crates themselves.</p>



<a name="196124255"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124255" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124255">(May 03 2020 at 21:25)</a>:</h4>
<p>Ah, I see what you meant.</p>



<a name="196124262"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124262" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124262">(May 03 2020 at 21:25)</a>:</h4>
<p>I was actually wondering if it would make sense for <em>multiple</em> color/style crates to coexist in wg-cli. :)</p>



<a name="196124302"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124302" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124302">(May 03 2020 at 21:26)</a>:</h4>
<p>But if you think the right answer is "none of them", that makes sense too.</p>



<a name="196124314"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124314" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124314">(May 03 2020 at 21:26)</a>:</h4>
<p>Yeah, I am leaning towards none of them except the common stuff</p>



<a name="196124317"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124317" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124317">(May 03 2020 at 21:26)</a>:</h4>
<p>I can start the discussion on a <code>termcolor</code> issue; I've got some additional things to add regarding the contents of the <code>Style</code> type.</p>



<a name="196124330"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124330" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124330">(May 03 2020 at 21:27)</a>:</h4>
<p>Should I CC you on the issue?</p>



<a name="196124380"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124380" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124380">(May 03 2020 at 21:28)</a>:</h4>
<p>Please do. Thanks. Same username on github as here</p>



<a name="196124391"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124391" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124391">(May 03 2020 at 21:29)</a>:</h4>
<p>Thanks!</p>



<a name="196124790"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196124790" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196124790">(May 03 2020 at 21:40)</a>:</h4>
<p><a href="https://github.com/BurntSushi/termcolor/issues/29" title="https://github.com/BurntSushi/termcolor/issues/29">https://github.com/BurntSushi/termcolor/issues/29</a></p>



<a name="196214584"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196214584" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Lew <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196214584">(May 04 2020 at 17:39)</a>:</h4>
<p>There's also<br>
colored: <a href="https://docs.rs/colored" title="https://docs.rs/colored">https://docs.rs/colored</a><br>
term: <a href="https://docs.rs/term" title="https://docs.rs/term">https://docs.rs/term</a></p>



<a name="196214699"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196214699" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Lew <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196214699">(May 04 2020 at 17:40)</a>:</h4>
<p>And don't forget there is a in-tree one <code>term</code> that is shipped and used by all unit tests : (</p>



<a name="196256624"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196256624" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196256624">(May 05 2020 at 00:32)</a>:</h4>
<p><span class="user-mention" data-user-id="239881">@Josh Triplett</span> hi. one of the core cli-wg people here. (Sorry i didn't see this because i generally don't check #general, will reply in a while )</p>



<a name="196257639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196257639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196257639">(May 05 2020 at 00:51)</a>:</h4>
<p>also yes, if you can't maintain it, we can take it under the rust-cli umbrella</p>



<a name="196260498"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196260498" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196260498">(May 05 2020 at 01:49)</a>:</h4>
<p>It's not a matter of "can't maintain it", it's more that I'd like it to have an organizational home with others who may be interested.</p>



<a name="196260552"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196260552" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196260552">(May 05 2020 at 01:50)</a>:</h4>
<p><span class="user-mention" data-user-id="120823">@DPC</span> I'd be happy to help with maintenance, and the original author still wants to work on it as well, but we'd love to have it in a common org.</p>



<a name="196286875"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196286875" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196286875">(May 05 2020 at 09:44)</a>:</h4>
<p>As I said before rust-cli is probably not the right org for any of the coloring crates because there exists many architectural approaches and cli-wg should not bless one of those.</p>



<a name="196290120"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196290120" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196290120">(May 05 2020 at 10:25)</a>:</h4>
<p>Please do not speak for the organization</p>



<a name="196349723"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196349723" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196349723">(May 05 2020 at 18:53)</a>:</h4>
<p>Nowhere did I speak for cli-wg. All I said is cli-wg should not bless one of the approaches which is an opinion. Not sure why there is a misunderstanding regarding intentions here.</p>



<a name="196356823"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196356823" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196356823">(May 05 2020 at 19:42)</a>:</h4>
<p>I really don't want to get into a policy dispute here. I do need to find a home for <code>ansi_term</code>. If there's consensus that rust-cli is a good home for it, I'd be happy to have it there. If there's not such a consensus, I don't want to get into the middle of anything.</p>



<a name="196362906"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196362906" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> spacekookie <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196362906">(May 05 2020 at 20:30)</a>:</h4>
<p>I think that <code>cli-wg</code> would be a really good fit, especially because it's been morphing into a general lib/ application support group. We're working on crash reporting, language and translation tools, packaging tools, etc. Handling term colours would fit into that general group</p>



<a name="196365163"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196365163" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196365163">(May 05 2020 at 20:46)</a>:</h4>
<p>Maintaining a crate under a wg umbrella does not really signal its blessing, the way I see it, though I can see why other people might interpret it as such.</p>



<a name="196365246"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196365246" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196365246">(May 05 2020 at 20:47)</a>:</h4>
<p>I generally still trust recommendations and usage numbers more when picking out a crate from multiple options for some task.</p>



<a name="196365792"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196365792" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> spacekookie <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196365792">(May 05 2020 at 20:51)</a>:</h4>
<p><span class="user-mention silent" data-user-id="123586">nagisa</span> <a href="#narrow/stream/122651-general/topic/termcolor/near/196365163" title="#narrow/stream/122651-general/topic/termcolor/near/196365163">said</a>:</p>
<blockquote>
<p>Maintaining a crate under a wg umbrella does not really signal its blessing, the way I see it, though I can see why other people might interpret it as such.</p>
</blockquote>
<p>Especially the embedded-wg has been setting a good precedence for this. It's of course no replacement for actual work hours put into the project: if the WG doesn't have enough people doing work across all the crates, it's kinda useless. But at the very least it might make it easier for interested people to join the group of maintainers</p>



<a name="196378742"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196378742" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196378742">(May 05 2020 at 22:56)</a>:</h4>
<p>we undertook crates like clap and paw under the wg, so i don't see what's wrong with this one</p>



<a name="196378829"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196378829" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196378829">(May 05 2020 at 22:58)</a>:</h4>
<p>we had a discussion in november where we decided to support other crates and take them under the working group umbrella and this one should fall under that criteria</p>



<a name="196385727"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196385727" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196385727">(May 06 2020 at 00:31)</a>:</h4>
<p>(If possible, I'd actually like a broader discussion in what a WG maintaining a crate "means" because it's also come up as a question in the gamedev-wg. I'd like if <em>someone</em> could help set the general WG policy there, or at least the default policy, and maybe we could write that down in wherever we describe how WGs work.)<br>
(where to push such a discussion, I don't actually know)</p>



<a name="196588398"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196588398" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Lew <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196588398">(May 06 2020 at 05:09)</a>:</h4>
<p>Maybe a topic of wg-governance.</p>



<a name="196590601"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196590601" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196590601">(May 06 2020 at 06:03)</a>:</h4>
<p><span class="user-mention" data-user-id="120823">@DPC</span> If I would like to add the crate, what would be the next step?</p>



<a name="196592341"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196592341" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196592341">(May 06 2020 at 06:32)</a>:</h4>
<blockquote>
<p>we undertook crates like clap and paw under the wg, so i don't see what's wrong with this one</p>
</blockquote>
<p>But 2 months ago, there was a consensus in the cli-wg meetings to go back on clap related crates. The reason is to say they do not want to bless any specific crate unless it is the only existing crate of that nature. I wouldn't say <code>ansi_term</code> qualifies for it.</p>



<a name="196592658"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196592658" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196592658">(May 06 2020 at 06:38)</a>:</h4>
<p>I am not sure, but I think the next steps might be to propose this for next cli-wg meeting?</p>



<a name="196599064"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196599064" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> spacekookie <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196599064">(May 06 2020 at 07:58)</a>:</h4>
<p><span class="user-mention silent" data-user-id="254853">pksunkara</span> <a href="#narrow/stream/122651-general/topic/termcolor/near/196592341" title="#narrow/stream/122651-general/topic/termcolor/near/196592341">said</a>:</p>
<blockquote>
<blockquote>
<p>we undertook crates like clap and paw under the wg, so i don't see what's wrong with this one</p>
</blockquote>
<p>But 2 months ago, there was a consensus in the cli-wg meetings to go back on clap related crates. The reason is to say they do not want to bless any specific crate unless it is the only existing crate of that nature. I wouldn't say <code>ansi_term</code> qualifies for it.</p>
</blockquote>
<p>I think this has to be something that's decided on a crate by crate basis, but I also think that clap is a bit special in this regards because the project is quite big and opinionated, and it's about not picking winners in a space where there's many viable candidates.</p>
<p>That doesn't mean that we can't or won't maintain other crates.</p>



<a name="196599163"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196599163" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> spacekookie <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196599163">(May 06 2020 at 07:59)</a>:</h4>
<p>Proposing it to the cli-wg would definitely be the next step. <span class="user-mention" data-user-id="239881">@Josh Triplett</span> wanna e-mail <a href="mailto:cli-wgf@rust-lang.org" title="mailto:cli-wgf@rust-lang.org">cli-wgf@rust-lang.org</a>? That's the official talk channel</p>



<a name="196658864"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196658864" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196658864">(May 06 2020 at 16:17)</a>:</h4>
<p><span class="user-mention" data-user-id="131358">@spacekookie</span> Is that <code>f</code> supposed to be in the email, or is it cli-wg@ ?</p>



<a name="196668380"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196668380" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196668380">(May 06 2020 at 17:25)</a>:</h4>
<p>ther'es no f</p>



<a name="196679681"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/termcolor/near/196679681" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> spacekookie <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/termcolor.html#196679681">(May 06 2020 at 18:49)</a>:</h4>
<p>Woops, yea that's a typo!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>